package org.unicat.service;

import org.unicat.model.User;
import org.unicat.model.UserInfo;

import java.util.List;

public interface UserService {
    List<User> findAll();

    User findByName(String username);

    void updateUser(UserInfo userInfo);

    void updateUserInfo(UserInfo userInfo);

    void deleteUser(UserInfo userInfo);

    void deleteUserInfo(UserInfo userInfo);
}
